/*
 * @Author: xiaosihan 
 * @Date: 2022-08-20 17:08:13 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-10-30 05:38:49
 */
import PwaModal from '@components/PwaModal';
import hashHistory from '@hashHistory';
import ModelIntroduction from '@views/ModelIntroduction/ModelIntroduction';
import VerificationStatus from '@views/VerificationStatus/verificationStatus';
import 'antd-mobile/es/global';
import ReactDOM from 'react-dom/client';
import { Route, unstable_HistoryRouter as Router, Routes } from 'react-router-dom';
import './index.css';
import DoubtfulSituation from '@views/DoubtfulSituation/DoubtfulSituation';

const Root = window.Root || (window.Root = ReactDOM.createRoot(document.getElementById('root')!));

Root.render(
    <Router history={hashHistory} >
        <PwaModal />
        <Routes>
            {/* 模型介绍 */}
            <Route path="/" element={<ModelIntroduction />} />
            {/* 核查情况 */}
            <Route path="/verificationStatus" element={<VerificationStatus />} />
            {/* 疑点情况 */}
            <Route path="/doubtfulSituation" element={<DoubtfulSituation />} />
        </Routes>
    </Router>
);

//@ts-ignore
console.log("前端发版时间", process.env.BUILD_TIME);
console.log("程序问题反馈联系方式 %cqq389652405", 'color: red');